home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 020 / arcsourc.arc / ARC.H next >
Encoding:
C/C++ Source or Header  |  1985-11-09  |  1.8 KB  |  45 lines

  1. /*  ARC - Archive utility - ARC Header
  2.  
  3.     Version 2.09, created on 11/09/85 at 22:22:05
  4.  
  5. (C) COPYRIGHT 1985 by System Enhancement Associates; ALL RIGHTS RESERVED
  6.  
  7.     By:  Thom Henderson
  8.  
  9.     Description: 
  10.          This is the header file for the ARC archive utility.  It defines
  11.          global parameters and the references to the external data.
  12.  
  13.  
  14.     Language:
  15.          Computer Innovations Optimizing C86
  16. */
  17.  
  18.  
  19. struct heads                           /* archive entry header format */
  20. {   char name[13];                /* file name */
  21.     long size;                         /* size of file, in bytes */
  22.     unsigned int date;                 /* creation date */
  23.     unsigned int time;                 /* creation time */
  24.     int crc;                           /* cyclic redundancy check */
  25.     long length;                       /* true file length */
  26. }   ;
  27.  
  28. extern int keepbak;             /* true if saving the old archive */
  29. extern int warn;                /* true to print warnings */
  30. extern int note;                /* true to print comments */
  31. extern int bose;                /* true to be verbose */
  32. extern int nocomp;              /* true to suppress compression */
  33. extern int kludge;              /* kludge flag */
  34. extern char *arctemp;        /* arc temp file prefix */
  35.  
  36. extern char hdrver;                      /* header version */
  37.  
  38. extern FILE *arc;                        /* the old archive */
  39. extern FILE *new;                        /* the new archive */
  40. extern char arcname[100];           /* storage for archive name */
  41. extern char bakname[100];           /* storage for backup copy name */
  42. extern char newname[100];           /* storage for new archive name */
  43. extern unsigned int arcdate;    /* archive date stamp */
  44. extern unsigned int arctime;    /* archive time stamp */
  45.